.layout {
  width: 100vw;
  height: 100vh;
}

.kai {
  font-family: Baskerville, Georgia, "Liberation Serif", "Kaiti SC", STKaiti, "AR PL UKai CN", "AR PL UKai HK", "AR PL UKai TW", "AR PL UKai TW MBE", "AR PL KaitiM GB", KaiTi, KaiTi_GB2312, "TW\-Kai", serif;
}

.header {
  height: 48px;
  position: relative;
  z-index: 2;
  margin-top: 0;
  overflow: hidden;
  user-select: none;
  border-top-width: 0;
  padding: 0;
  border-bottom: #ddd solid 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 0 30px rgba(0, 0, 0, .075);
  //background: #194C7E; /* fallback for old browsers */
  //background: -webkit-linear-gradient(to left, #194C7E, #2164A6); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #194C7E, #2164A6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  //background: linear-gradient(90deg,#102da4,#2f54eb);#1890ff

  &:after {
    background: transparent url() repeat center center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .4;
    display: block;
    position: absolute;
    content: '';
  }

  .logo {
    margin-left: 5px;
    margin-top: -2px;
    float: left;

    img {
      height: 38px;
    }
  }

  .title {
    display: inline-block;
    position: relative;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.2em;
    letter-spacing: -2px;
    top: -5px;
    margin-top: 5px;
    margin-left: 5px;
    color: #fff;
  }

  .subtitle {
    position: absolute;
    top: -8px;
    right: -50px;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 500;
    color: yellow;
  }

  .nav {
    float: right;
    margin-top: 2px;
    margin-right: 0;
    font-size: 12px;

    ul {
      position: relative;
      margin: 0;
      z-index: 6;

      li {
        float: left;
        display: inline;
        margin: 0 10px 0 0;

        a {
          cursor: pointer;
          display: flex;
          flex-direction: column;
          text-align: center;
          padding: 0 2px 5px 2px;
          text-decoration: none;
          font-weight: 500;
          color: #fff;
          text-shadow: 0 -1px rgba(0, 0, 0, 0.2);
          border-radius: 4px;
          overflow: hidden;

          span {
            line-height: 1rem;
          }

          &:hover {
            line-height: 1rem;
            background: rgba(0, 0, 0, 0.25);
            color: #d2e0f2;
          }
        }

        svg {
          margin-top: 3px;
          font-size: 18px;
        }
      }

      @media (max-width: 680px) {
        li:not(:last-child) {
          display: none !important;
        }
      }
    }
  }

}

.basicLayout {
  min-height: calc(100% - 99px);

  :global {
    .ant-layout {
      background-color: #fff;
    }

    .ant-menu,
    .ant-pro-sider-menu-sider.light {
      background-color: rgba(248, 250, 254, 0.1);
    }

    .ant-layout-sider {
      border-right: 1px solid #ddd;
      height: calc(100% - 99px);
      overflow-y: auto;
    }

    .ant-pro-sider-menu {
      padding-top: 0 !important;
    }

    .ant-menu-item, .ant-menu-submenu-title {
      height: 30px !important;
      line-height: 30px !important;
    }

    .ant-pro-table-search {
      padding: 10px;
      margin-bottom:0;

      .ant-form-item{
        margin-bottom: 0;
      }
    }
    .ant-pro-table-toolbar{
      height: 48px;
      padding: 0 18px;
    }

    .ant-pro-table .ant-table-content tr:first-child > th:first-child,
    .ant-pro-table .ant-table-row .ant-table-cell:first-child {
      padding: 0 8px;
    }
  }
}

.footer {
  background: #f8fafe;
  height: 35px;
  line-height: 35px;
  border-top: #ddd solid 1px;
  border-left-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  padding: 0;
  overflow: hidden;

  .left {
    font-size: 12px;
    float: left;
    padding-left: 5px;

    .name {
      color: darkgreen;
      font-weight: 700;
    }

    .time {
      margin-left: 10px;
    }
  }

  .right {
    font-size: 12px;
    float: right;
    padding-right: 5px;
  }
}
